package cc.geguol.scm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cc.geguol.scm.dao.AccountDao;
import cc.geguol.scm.entity.Account;
import cc.geguol.scm.service.AccountService;

/**
 * 作者  Administrator
 * 时间  2017/5/8 18:16
 * 文件  Scm
 * 描述
 */
@Service("accService")
public class AccountServiceImpl implements AccountService {

	@Autowired
	private AccountDao accountDao;

	@Override
	public Account selectAccount(Integer accId) {
		return accountDao.selectAccount(accId);
	}

	@Override
	public int insertAcc(Account account) {
		return accountDao.insertAcc(account);
	}
}
